const key = 'mj-pc-user-token'

// 获取
export const getToken = () => {
  return localStorage.getItem(key)
}

// 写入
export const setToken = (token) => {
  localStorage.setItem(key, token)
}

// 删除
export const delToken = () => {
  localStorage.removeItem(key)
}
